﻿<UserControl x:Class="StressServer_UI.QueryControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             x:Name="CtrQueryDetails"
             d:DesignHeight="300" d:DesignWidth="300" Height="270" Width="250" >
    <Grid>
        <TextBox Name="TextName" HorizontalAlignment="Left" Height="25" Margin="10,10,0,0" TextWrapping="Wrap" Text="{Binding Path=Test.CurrentQuery.Name, Mode=TwoWay}" VerticalAlignment="Top" Width="230">
            <TextBox.ToolTip>
                <ToolTip>
                    <StackPanel>
                        <TextBlock FontWeight="Bold">Name</TextBlock>
                        <TextBlock>Name of query. Identifies the query in the test output.</TextBlock>
                    </StackPanel>
                </ToolTip>
            </TextBox.ToolTip>
        </TextBox>
        <TextBox Name="TextText" HorizontalAlignment="Left" Height="230" Margin="10,40,0,0" TextWrapping="Wrap" Text="{Binding Path=Test.CurrentQuery.Text, Mode=TwoWay}" VerticalAlignment="Top" Width="230" AcceptsReturn="True">
            <TextBox.ToolTip>
                <ToolTip>
                    <StackPanel>
                        <TextBlock>MDX query</TextBlock>
                    </StackPanel>
                </ToolTip>
            </TextBox.ToolTip>
        </TextBox>

    </Grid>
</UserControl>
